﻿using System;
using System.ComponentModel.Composition;
using NDBGen.Descriptors.Columns.Tokens;

namespace NDBGen.Plugins
{
    [MetadataAttribute]
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public sealed class ColumnTokenScriptSnippetGeneratorAttribute : GeneratorAttribute
    {
        public ColumnTokenScriptSnippetGeneratorAttribute(Type tokenDescriptorType)
            : base(tokenDescriptorType, typeof(IColumnTokenDescriptor), typeof(IColumnTokenScriptSnippetGenerator)) { }
    }
}